Skip to content

chore(ci): stop building old API docs on push#18016

Merged
ecormany merged 3 commits into
edgefrom
infra-stop-building-old-docs
Apr 11, 2025
Merged

chore(ci): stop building old API docs on push#18016
ecormany merged 3 commits into
edgefrom
infra-stop-building-old-docs

Conversation

@ecormany
Copy link
Copy Markdown
Contributor

@ecormany ecormany commented Apr 9, 2025

Overview

Change build process so only the PAPI v2 docs get built on every push. [Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS directly to add some robots.txt rules.

Test Plan and Hands on Testing

Spot check sandbox sites against current prod:

Everything should look the same. Not perfect, there is some formatting jankiness that I'm not attempting to fix.

Changelog

  • new git ignore rules to track built copies of the archived docs sites
  • commit a copy of both sites
  • change make -C api docs to only build v2 and hardware docs. other sites can still be built, if needed, with other make commands.

Review requests

  • Is this the right way to go about this? It works, but does it work how we want?
  • Is there anything in the Sphinx output that should still be ignored? I think not, but I'm not 100%
  • Double check built sites.
  • Also now is the time to speak up if you think any of these sites should go away forever 🚮

Risk assessment

low-ish. you should basically never notice.

@ecormany ecormany requested review from a team as code owners April 9, 2025 14:33
Copy link
Copy Markdown
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I could have sworn we already did this though

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait do we actually want to freeze the OT-2 hardware API docs like this? Weren't these supposed to be for internal users, and actually kept up to date?

If we're comfortable enough with freezing them, would we be comfortable enough to outright delete them?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to unfreeze them if that's the intended use case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is safe to say though, that the technical content team is not modifying or maintaining them in any way.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK yeah, the autogenerated API ref (which isn't even linked from /hardware/index.html, but that's another matter) looks useful and pulls from recently updated code.

@ecormany ecormany requested a review from SyntaxColoring April 10, 2025 13:46
@ecormany ecormany merged commit eb3aeb7 into edge Apr 11, 2025
26 checks passed
@ecormany ecormany deleted the infra-stop-building-old-docs branch April 11, 2025 18:43
ddcc4 pushed a commit that referenced this pull request May 16, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 16, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 16, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 16, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 16, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 16, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 17, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 19, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 19, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 19, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 20, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 20, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 22, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 23, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 24, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 24, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 29, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 29, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
ddcc4 pushed a commit that referenced this pull request May 29, 2025
# Overview

Change build process so only the PAPI v2 docs get built on every push.
[Update: also keeping hardware docs dynamic.]

Addresses RTC-711, although followup work may need to be done on AWS
directly to add some robots.txt rules.

## Test Plan and Hands on Testing

Spot check sandbox sites against current prod:
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/ot1/index.html
-
http://sandbox.docs.opentrons.com/infra-stop-building-old-docs/v1/index.html

Everything should look the same. Not perfect, there is some formatting
jankiness that I'm not attempting to fix.

## Changelog

- new git ignore rules to track built copies of the archived docs sites
- commit a copy of both sites
- change `make -C api docs` to only build v2 and hardware docs. other
sites can still be built, if needed, with other `make` commands.

## Review requests

- **Is this the right way to go about this?** It works, but does it work
how we want?
- Is there anything in the Sphinx output that should still be ignored? I
think not, but I'm not 100%
- Double check built sites.
- Also now is the time to speak up if you think any of these sites
should go away forever 🚮

## Risk assessment

low-ish. you should basically never notice.

(cherry picked from commit eb3aeb7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants